﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
 

public class EnumAttirbute : PropertyAttribute
{
    /// <summary>
    /// 枚举名称
    /// </summary>
    public string name;
    public EnumAttirbute(string name)
    {
        this.name = name;
    }
}
public class CNEnumAttribute : LabelAttribute
{
    public System.Type inputType = typeof(UnityEngine.Rendering.BlendMode);
    public CNEnumAttribute(System.Type _type,string label, string conditionalSourceField) : base(label, conditionalSourceField)
    {
        inputType = _type;
    }
    public CNEnumAttribute(System.Type _type, string label) : base(label)
    {
        inputType = _type;
    }
}

 
 